package com.ruoyi.employee_info.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工信息表对象 sill_employee
 * 
 * @author ruoyi
 * @date 2024-08-09
 */
public class SillEmployee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 工号 */
    @Excel(name = "工号")
    private String employeeNum;

    /** 姓名 */
    @Excel(name = "姓名")
    private String employeeName;

    /** 性别  */
    @Excel(name = "性别 ")
    private Long employeeSex;

    /** 年龄 */
    @Excel(name = "年龄")
    private String employeeAge;

    /** 底薪 */
    @Excel(name = "底薪")
    private BigDecimal employeeBasicsalary;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employeeEntrytime;

    /** 备注 */
    @Excel(name = "备注")
    private String ps;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeNum(String employeeNum) 
    {
        this.employeeNum = employeeNum;
    }

    public String getEmployeeNum() 
    {
        return employeeNum;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setEmployeeSex(Long employeeSex) 
    {
        this.employeeSex = employeeSex;
    }

    public Long getEmployeeSex() 
    {
        return employeeSex;
    }
    public void setEmployeeAge(String employeeAge) 
    {
        this.employeeAge = employeeAge;
    }

    public String getEmployeeAge() 
    {
        return employeeAge;
    }
    public void setEmployeeBasicsalary(BigDecimal employeeBasicsalary) 
    {
        this.employeeBasicsalary = employeeBasicsalary;
    }

    public BigDecimal getEmployeeBasicsalary() 
    {
        return employeeBasicsalary;
    }
    public void setEmployeeEntrytime(Date employeeEntrytime) 
    {
        this.employeeEntrytime = employeeEntrytime;
    }

    public Date getEmployeeEntrytime() 
    {
        return employeeEntrytime;
    }
    public void setPs(String ps) 
    {
        this.ps = ps;
    }

    public String getPs() 
    {
        return ps;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeNum", getEmployeeNum())
            .append("employeeName", getEmployeeName())
            .append("employeeSex", getEmployeeSex())
            .append("employeeAge", getEmployeeAge())
            .append("employeeBasicsalary", getEmployeeBasicsalary())
            .append("employeeEntrytime", getEmployeeEntrytime())
            .append("ps", getPs())
            .toString();
    }
}
